<%@ page contentType="text/html;charset=UTF-8" isELIgnored="false" language="java" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<head>
    <title>员工列表</title>
</head>
<body>
    <form>
        <table border="1">
            <tr>
                <td>姓名</td>
                <td>年龄</td>
                <td>性别</td>
                <td>地址</td>
            </tr>
            <c:forEach items="${employeesmsg}" var="one">
                <tr>
                    <td>${one.username}</td>
                    <td>${one.age}</td>
                    <td>${one.sex}</td>
                    <td>${one.address}</td>
                    <td><a href="toupdateEmployee.do?id=${one.id}">修改</a></td>
                    <td><a href="todeleteEmployee.do?id=${one.id}">删除</a></td>

                </tr>
            </c:forEach>
        </table>
    </form>
</body>
</html>
